package hksstudio.saigyoujiyuyuko.fastcontroll.PluginConf;

import java.io.File;
import java.io.IOException;

import hksstudio.saigyoujiyuyuko.fastcontroll.Var.Var;

public class WriteConf {
	
	public void Write() throws IOException {
		new File("plugins/FastControll/").mkdirs();
		
		Var.G_UTIL.WriteFile(Var.file, "#插件名: FastControll\n");
		Var.G_UTIL.WriteFile(Var.file, "#作者: SaigyoujiYuyuko\n");
		Var.G_UTIL.WriteFile(Var.file, "#QQ: 3558168775\n");
		Var.G_UTIL.WriteFile(Var.file, "\n");
		
		Var.G_UTIL.WriteFile(Var.file, "#服务器连接token\n");
		Var.G_UTIL.WriteFile(Var.file, "Token=world\n\n");
		Var.G_UTIL.WriteFile(Var.file, "#通讯端口\n");
		Var.G_UTIL.WriteFile(Var.file, "ServerPort=65530\n");
	}
	
}
